@bg-color: #b7d4a8;

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font:bold 20px "Courier";
}

#main {
    width: 360px;
    height: 420px;
    background-color: @bg-color;
    margin: 100px auto;
    border: 10px solid black;
    border-radius: 20px;
}

#stage {
    width: 304px;
    height: 304px;
    border: 2px solid black;
    margin: 10px auto;
    position: relative;
    #snake {
        position: absolute;
    }
    #snake>div {
        width: 10px;
        height: 10px;
        background-color: #000;
        border:1px solid @bg-color;
        position: absolute;
    }

    #food{
        width: 10px;
        height: 10px;
        position: absolute;
        display: flex;
        flex-flow: row wrap;
        justify-content: space-between;
        align-content: space-between;
        border:1px solid @bg-color;
        &>div{
            width: 3px;
            height: 3px;
            background-color: #000;
            transform: rotate(45deg);
            pointer-events:none;
            cursor: none;
        }
        
    }
}

#score-panel{
    width: 304px;
    margin: 30px auto;
    display: flex;
    justify-content: space-between;
}